POV-Ray : Newsgroups : povray.general : reflections, trace and isos : Re: reflections, trace and isos Server Time
7 Aug 2024 05:13:49 EDT (-0400)
  Re: reflections, trace and isos  
From: R  Suzuki
Date: 11 Jan 2002 05:35:57
Message: <3c3ec00d@news.povray.org>
"Marc-Hendrik Bremer" wrote:
>There is an isosurface cache already, isn't it?

Yes, there is an isosurface cache.   But that is not for hidden isosurfaces.
That is for non-intersecting rays.  The cache is especially effective to
small(or thin) isosurfaces in a large isosurface container.
For example,
  isosurface{
    function{f_torus(x,y,z,0.9,0.05)}
    contained_by{ box{-<1,0.1,1>, <1,0.1,1>}}
  }

The statistics is
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
Isosurface                       37426            4648     12.42
Isosurface Bound                80874           37434     46.29
Isosurface Cache                 28748           24664     85.79
----------------------------------------------------------------------------
In this case, the cache hit ratio is 66% (24664/37426).

This cache technique uses a function value of the previous ray and eliminates
unnecessary calculation.  Maybe I will to explain that technique with figures...

R. Suzuki


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.